// base
.noborder() {
  &,
  &:hover {
    border-bottom: none;
  }
}

a.noborder,
.noborder a {
  .noborder();
}

a.color {
  color: @bw-red;
  &:hover {
    color: @bw-red-darker;
    border-bottom: 1px solid currentColor;
  }
}

img {
  max-width: 100%;
  height: auto;
}

// main
body {
  background: url("img/grey.jpg") repeat scroll 0 0 #fafafa;
  border-top: 5px solid #222222;
}

.box {
  background: none repeat scroll 0 0 #fdfdfd;
  border: 1px solid #dddddd;
  margin-bottom: 1rem;
  padding: 5px 10px;
  .box-title {
    color: #666;
    border-bottom: 1px dashed #dddddd;
    margin: 10px 0 5px 0;
    padding-bottom: 5px;
  }
}

.widget ul li {
  background: url(img/list.png) no-repeat scroll 2px 7px/13px 13px
    rgba(0, 0, 0, 0);
  overflow: hidden;
  padding: 4px 0 4px 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pagination .now-page,
.pagination a:hover {
  background: none repeat scroll 0 0 #f3f3f3;
}

@media (min-width: @grid-float-breakpoint) {
  .posts {
    width: 68%;
  }
  .sidebar {
    width: 32%;
  }
}
@media (max-width: @grid-float-breakpoint-max) {
  header {
    text-align: center;
    margin-bottom: 0;
  }
  #BlogTitle {
    margin: 8px 0;
  }
  h1 {
    font-size: 2.1em;
  }
  h2 {
    font-size: 1.4em;
    margin-top: 0;
  }
  h3 {
    font-size: 1.2em;
  }
  .contact {
    margin-top: 0px;
  }
  .navbar-nav,
  .navbar-nav li a {
    border: 0 none;
  }
  .posts,
  .sidebar {
    padding-left: 5px;
    padding-right: 5px;
  }
  #divSearchPanel .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    width: 59%;
  }
  #divSearchPanel #search {
    width: 100%;
  }
}
